﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WMemoryProfiler
{
    /// <summary>
    /// Contains the info for a given type on the managed heap. The information is retrieved
    /// via the debugger with !DumpHeap -stat
    /// </summary>
    public class InstanceInfo
    {
        /// <summary>
        /// Instance count
        /// </summary>
        public int InstanceCount { get; internal set; }

        /// <summary>
        /// Total object size on managed heap in bytes
        /// </summary>
        public long AllocatedBytes { get; internal set; }
    }
}
